package cn.tedu.egvehicle1.mapper;

import cn.tedu.egvehicle1.pojo.entity.User;
import cn.tedu.egvehicle1.pojo.vo.UserVO;
import org.apache.ibatis.annotations.Param;

public interface UserMapper {
    int selectByUsername(String username);

    int insertUser(User user);

    UserVO selectByUsernameAndPassword(@Param("username") String username,
                                       @Param("password") String password);
}
